<?php
class tourism_goods_exotic_model extends CI_Model
{
    private $table = 'tourism_goods_exotic';
    
    public function findByHomeExotic($limit=14)
    {
        $this->db->order_by('sort', 'ASC');
        $this->db->limit($limit);
        return $this->db->get($this->table);
    }
    
    public function findByRegionId($region_id)
    {
        $this->db->where('region_id', $region_id);
        return $this->db->get($this->table);
    }
}